package org.fms.web.model;


import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Alias("Annex")
public class Annex implements Serializable{
    private Integer id;

    private Integer registrationId;

    private String url;

    private Registration registration;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(Integer registrationId) {
        this.registrationId = registrationId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Registration getRegistration() {
        return registration;
    }

    public void setRegistration(Registration registration) {
        this.registration = registration;
    }

    @Override
    public String toString() {
        return "Annex{" +
                "id=" + id +
                ", registrationId=" + registrationId +
                ", url='" + url + '\'' +
                ", registration=" + registration +
                '}';
    }
}